package com.wowangz.cms.component.datagrid.pojo;

import com.wowangz.cms.component.datagrid.utils.PaperStyle;

/**
 * 
 * @author leiyang3
 *
 */
public class JasperDatagridParam {
	
	private String titles[];
	private String fields[];
	private String widths[];
	private String aligns[];

	private String userName = "";
	private String tableTitle="";    //表头的名字
	private long paperOrientation = PaperStyle.PaperOrientation.VERTICAL;  //纸张方向
	private String paperType = PaperStyle.PaperType.A4;  //纸张类型
	private long pageTop = 20;       //页面边距顶部
	private long pageButtom = 20;    //页面边距底部
	private long pageLeft = 5;       //页面边距左对齐
	private long pageRight = 5;      //页面边距右对齐
	private String pageChoose = "";  //打印内容

	public long getPageTop() {
		return pageTop;
	}

	public long getPageButtom() {
		return pageButtom;
	}

	public long getPageLeft() {
		return pageLeft;
	}

	public long getPageRight() {
		return pageRight;
	}

	public String getPageChoose() {
		return pageChoose;
	}

	public void setPageTop(long pageTop) {
		this.pageTop = pageTop;
	}

	public void setPageButtom(long pageButtom) {
		this.pageButtom = pageButtom;
	}

	public void setPageLeft(long pageLeft) {
		this.pageLeft = pageLeft;
	}

	public void setPageRight(long pageRight) {
		this.pageRight = pageRight;
	}

	public void setPageChoose(String pageChoose) {
		this.pageChoose = pageChoose;
	}

	public String getTableTitle() {
		return tableTitle;
	}

	public void setTableTitle(String tableTitle) {
		this.tableTitle = tableTitle;
	}

	public String[] getTitles() {
		return titles;
	}

	public void setTitles(String[] titles) {
		this.titles = titles;
	}

	public String[] getFields() {
		return fields;
	}

	public void setFields(String[] fields) {
		this.fields = fields;
	}

	public String[] getWidths() {
		return widths;
	}

	public void setWidths(String[] widths) {
		this.widths = widths;
	}

	public String[] getAligns() {
		return aligns;
	}

	public void setAligns(String[] aligns) {
		this.aligns = aligns;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public long getPaperOrientation() {
		return paperOrientation;
	}

	public void setPaperOrientation(long paperOrientation) {
		this.paperOrientation = paperOrientation;
	}

	public String getPaperType() {
		return paperType;
	}

	public void setPaperType(String paperType) {
		this.paperType = paperType;
	}

}